from pygame.sprite import Sprite
import pygame
class Cube (Sprite):
    
    def __init__(self, point):
        pygame.sprite.Sprite.__init__(self) #call Sprite initializer
        self.image = pygame.image.load('cube.png').convert()
        self.image.set_colorkey(self.image.get_at((0,0)))
        self.rect = self.image.get_rect()
        self.rect = self.rect.move((point.x,point.y));
    
    def update(self):
        pass